<template>
  <div class="modal_edit-wrapper">
    <modal_com :modalShow="modalShow" type="mymodal_edit" @toHidden='toHidden'>
      <div slot='content' class="ui segment">
        <editCom v-if="modalShow" modal_edit="1" @oncomplate="toHidden"></editCom>
      </div>

    </modal_com>

  </div>

</template>

<script>
  import modal_com from 'components/modal/modal_com'
  import editCom from 'components/edit/editCom'

  import tool from 'src/util/tool';
  import util from '_util/index';
  import _ from 'lodash'

  export default {
    data() {
      return {
      }
    },
    components: {
      modal_com,editCom
    },
    methods: {
      toHidden() {
        util.store.commit(this,'setOp', '');
        this.$emit('modalComHidden');
      },
    },
    watch: {
    },
    props: ['modalShow', 'isList'],
    created() {
    },
    computed: {
      ctl() {
        return this.$route.query.ctl;
      },
    },
    mounted() {


    }
  }
</script>
<style rel="stylesheet/less" lang="less" >
  .ui.dimmer.modals.page.transition.visible.active{
    overflow: auto;
  }
</style>
